package com.batch_demo.jdk8;

public class TypeInference {
    public static void main(String[] args) {
        final Value<String> value = new Value<>();
        String valueOrDefault = value.getOrDefault("22", Value.defaultValue());
        System.out.println(valueOrDefault);
    }
}
